<?php
/**
 * Created by PhpStorm.
 * User: 海峡
 * Date: 2020/11/4
 * Time: 17:18
 */
use Illuminate\Support\Facades\Route;

//route::get('abc',function(){
//    return '你好世界';
//})->name('demo1');


route::get('aaa',function(){
    return '你好php';
});

route::permanentRedirect('abc','aaa',301);

route::view('view','welcome',['name'=>'你好']);

